Headcrab Canister SWEP
--------------------------------------------------------------

(c) phenex

You can modify it for your own personal use but you need my permission before releasing any version of this script or using any part of my code in your own scripts. It takes 15 seconds to send me a PM on the GMod forum and I'll more than likely give you permission, I just want to know when people use my code. My nickname on the GMod forum is phenex.


Left clicking with this SWEP will fire a canister to impact at the point you were aiming at. Each player may have up to 3 canisters in the server at any time. Each canister spawns 4 normal headcrabs, then disappears. This SWEP doesn't use any ammo.

The script is pretty self-explanatory for those of you who want to modify the inner workings. PM me if you need help WITH EDITING THIS LUA SCRIPT. I won't reply to general Lua or GMod Lua questions, use the GMod Lua Scripting forum instead.

Version 0.1: 11-December-2005: Released.
Version 0.11: 11-December-2005: Added impact damage. Thanks, Lambi, for reminding me.